package com.yjzx.binlog.annotanion;

import com.yjzx.binlog.config.BinLogProperties;
import com.yjzx.binlog.config.MyCommandLineRunner;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author yjzx
 * @date 2024/9/19
 * @description EnableBinLog
 */
@Import({
        BinLogProperties.class, MyCommandLineRunner.class
})
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface EnableBinLog {
}
